/**
 * 首页相关接口
 **/
import options from './request.js';

export const noticeList  = (data = {}) => { 
	return options.reqJson("GET", '/system/notice/list?status=0&pageNum=1&pageSize=1', data)
}

export const userAccessLink  = (code) => { 
	return options.reqJson("POST", `/viewLogin/user/accessLinks?code=${code}`)
}

//首页配置
export const restaurantConfigList  = () => { 
	return options.reqJson("GET", `/restaurant/config/weChatList?pageNum=1&pageSize=99&configType=4&status=1`)
}
//首页轮播
export const restaurantConfigListType2  = () => { 
	return options.reqJson("GET", `/restaurant/config/weChatList?pageNum=1&pageSize=10&configType=2`)
}